package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.CustomerBiz;
import ui.activity.profit.contract.CustomerContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class CustomerModule {
    private CustomerContract.View view;

    public CustomerModule(CustomerContract.View view) {
        this.view = view;
    }

    @Provides
    public CustomerContract.View provideView() {
        return view;
    }

    @Provides
    public CustomerBiz provideBiz() {
        return new CustomerBiz();
    }
}